<link rel="stylesheet" type="text/css" href="../css/pintuer.css">
<link rel="stylesheet" type="text/css" href="../css/admin.css">
<link rel="stylesheet" type="text/css" href="../css/manage.css">
<?php
defined('SEJUJOPEFDNGJSL') or exit('Access denied');
$id=intval($_GET['id']);
$db->query("select * from ld_product where id='".$id."'",2);
$rs=$db->rs;
?>
<div class="righttop">
  <span class="icon-home"></span> 首页 <span class="gray">/</span>  产品管理
</div>
<div class="panelbox">
    <div class="panel admin-panel">
        <div class="panel-head">
          <strong><span class="icon-shopping-cart"></span>
            产品
          </strong>
        </div>
        <div class="body-content">
        	<!-- 表格表格 -->
        	<form action="" method="post" enctype="multipart/form-data" name="form1">
			<table class="modifytable">
				  <td class="leftb"><p>产品名称:</p>	    </td>
				  <td><?php echo $rs["productname"]?></td>
				  </tr>
				<tr>
				  <td class="leftb">图片:</td>
				  <td> <?php if ($rs["proimg"]!="") echo '<img src="'.$rs["proimg"].'" width=200/>'; else echo "没有图片";?></td>
				  </tr>
				<tr>
				  <td class="leftb">积分价格:</td>
				  <td><?php echo $rs["price"]?>积分</td>
				</tr>
				
			    <tr>
				  <td class="leftb">数量:</td>
				  <td><?php echo $rs["num"]?></td>
				</tr>
				<?php
				    if($rs['style_1']&&$rs['style_1_value']){?>
				    	<tr>
				  			<td class="leftb"><?php echo $rs["style_1"]?>:</td>
				  			<td><?php echo $rs["style_1_value"]?></td>
						</tr>

				   <?php }
				?>
				<?php
				    if($rs['style_2']&&$rs['style_2_value']){?>
				    	<tr>
				  			<td class="leftb"><?php echo $rs["style_2"]?>:</td>
				  			<td><?php echo $rs["style_2_value"]?></td>
						</tr>

				   <?php }
				?>
				<?php
				    if($rs['style_3']&&$rs['style_3_value']){?>
				    	<tr>
				  			<td class="leftb"><?php echo $rs["style_3"]?>:</td>
				  			<td><?php echo $rs["style_3_value"]?></td>
						</tr>

				   <?php }
				?>

				<tr>
				  <td class="leftb">说明:</td>
				  <td><?php echo $rs["memo"];?></td>
				</tr>
				<tr>
					<td class="leftb"></td>
				  <td>
				    <input type="hidden" name="id" value="<?php echo $id?>">
			        <input type="hidden" name="pageno" value="<?php echo $pageno?>">
			        <button class="button bg-main" type="button"  id="but" value="" name="but" onClick="history.back();">
			        <span class="icon-mail-reply"></span> 返回</button>	  </td>
				  </tr>
			    </table>
			</form>
        	<!-- 结束结束 -->
        </div>
    </div>
</div>

